<?
/****************************************/
/************* IdeaLAN LLC **************/
/* This is a page where all the error   */
/* messeges are saved you can add delete*/
/* modify messeges here.                */
/****************************************/
/* SCRIPT: errors.php        VER: 1.0f  */
/* AUTHOR: Lukasz Piekarski             */
/* E-mail: lukasz@idealan.net           */
/****************************************/
/****************************************/

if (isset($_GET["ef"])) { 
  $ef = $_GET["ef"];
} else { $ef = ""; }
if (isset($_GET["mf"])) { 
  $mf = $_GET["mf"];
} else { $mf = ""; }

if (isset($_GET["temp"])) {
	$temp = $_GET["temp"];
} else { $temp = ""; }

if (!isset($username1)) { $username1 = ""; }
if (!isset($actnum1)) { $actnum1 = ""; }


/* ************** NEW ERROR MESSEGING SYSTEM ***************** */

$error_msgs = array(
1=>"ACCESS DENIED!",
2=>"NEW PASSWORD IS TO LONG OR TO SHORT!",
3=>"NEW PASSWORDS DON'T MATCH!",
4=>"OLD PASSWORD IS WRONG!",
5=>"PLEASE PUT IN A USERNAME",
6=>"USER $ef ALREADY EXISTS!",
7=>"User info saved, pass dont match!",
8=>"There was an error uploading the module!",
9=>"Module already existing!",
10=>"LAST NAME OR PHONE MUST BE FILLED OUT!",
11=>"REQUIRED FIELDS ARE EMPTY!",
12=>"MODULE FILE IS MISSING!",
13=>"PLEASE INSTALL MODULE FIRST",
14=>"ITEM REMOVED!",
15=>"GROUP REMOVED!",
16=>"SO REMOVED!",
17=>"SERVICE REMOVED!",
18=>"DEVICE REMOVED",
19=>"Wrong USERNAME or PASSWORD!",
20=>"This account has been locked. E-mail: info@idealan.net",
21=>"CUSTOMER WITH SUCH LAST NAME EXISTS!",
22=>"CUSTOMER WITH SUCH PHONE # EXISTS!",
23=>"TEMPLATE $temp WAS NOT FOUND!",
24=>"PLEASE LOGIN",
25=>"This account was under attack. Therefore it was locked. To terminate the lock log-in with you correct username and password. After this lock will be terminated and you can use your account as normal<BR> NOTE: make sure you do not make any typos, this would activate the lock again.",
26=>"This account is under attack. Please wait 30 minutes until the account is released again."
);


$good_msgs = array(
1=>"You\'r info has been saved!",
2=>"You\'r password has been chaned!",
3=>"Manager",
4=>"Super Manager",
5=>"User added. TEMPpass: <span>$mf</span>",
6=>"ACCOUNT HAS BEEN LOCKED!",
7=>"Account has been unlocked!",
8=>"USER HAS BEEN REMOVED!",
9=>"User has been logged out!",
10=>"Permission Deleted!",
11=>"Permission Changed!",
12=> "User info has been saved!",
13=> "User info and password saved!",
14=> "You have been logged out!",
15=> "YOU SESSION HAS EXPIRED!",
16=>"Module has been uploaded, you can install it.",
17=>"Customer has been ADDED.",
18=>"CUSTOMER REMOVED!",
19=>"Customer infor has been SAVED",
20=>"Module added and installed.",
21=>"Module remove successfully!",
22=>"Backup Completed!",
23=>"Backup Removed!",
24=>"Service Added!",
25=>"Restore Completed!",
26=>"Server has beed ADDED.",
27=>"Server removed!",
28=>"New item added!",
29=>"Change has been saved!",
30=>"Group Added!",
31=>"Module moved DOWN!",
32=>"Module moved UP!",
33=>"Version updated!"
);



/* *************************** END *************************** */



//OLD ErrorStrings:
$couldNotConnectMysql = "Could not connect MySQL<BR>\n please check your settings in config.php";
$couldNotOpenDatabase = "Could not open database<BR>\n please check your settings in config.php";

$disabledFeatures = "The adminstrator of this site has disabled this feature";
$underAttackReLogin = "This account was under attack. Therefore it was locked. To terminate the lock log-in with you correct username and password. After this lock will be terminated and you can use your account as normal<BR> NOTE: make sure you do not make any typos, this would activate the lock again.";
$underAttackPleaseWait = "This account is under attack. Please wait 30 minutes until the account is released again."; 
$AccountLockedAdmin = "This account has been locked. Please contact the Administrator.<br/> E-mail: info@idealan.net"; 
$accountNotActivated = "This account has not been activated yet.";
$incorrectUserMailaders = "Combination of Username and Email do not match our records.";
$activationCodeHasBeenResend = "Your activationcode has been resend to your mailadres.";
$incorrectUserActcode ="The username: $username1 / activation: $actnum1 you entered is not correct. Please try again.";
$passwordSent = "The password has been send to your E-mail.";

?>